# import requests
#
# #登录
# ip='http://192.168.40.130'
# # url='http://192.168.40.128:8080/login'
# mydata={'username':'张三',
#         'password':'wxy123',
#         'back_act':'http%3A%2F%2F192.168.40.130%2Findex.php',
#         'submit':'',
#         'act':'act_login'}
# # r=requests.post('http://192.168.40.128:8080/login',data=mydata)
# r=requests.post(f'{ip}/login',data=mydata)
#
# #新增接口
# xindata={'msg_type':0,
#         'msg_title':'水水水',
#         'msg_content':'水水水',
#         'act':'act_add_message'
# }
# xz=requests.post(f'{ip}/user.php',data=xindata)








